/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.common.systemmessage.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * 描述:  case_system_message 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年12月09日
 */
@Data
@Table(name = "upcase.case_system_message")
public class CaseSystemMessage implements Serializable {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 消息类型
     */
    @Column(name = "type")
    private String type;

    /**
     * 消息标题
     */
    @Column(name = "title")
    private String title;

    /**
     * 消息内容
     */
    @Column(name = "content")
    private String content;

    /**
     * 消息接收人id
     */
    @Column(name = "receiver_id")
    private String receiverId;

    /**
     * 消息接收人部门
     */
    @Column(name = "receiver_dept")
    private String receiverDept;

    /**
     * 是否已读 0：否 1：是
     */
    @Column(name = "is_read")
    private String isRead;

    /**
     * 是否删除（ 1：是，0：否） 
     */
    @Column(name = "is_deleted")
    private String isDeleted;

    /**
     * 是否发送提醒 0：否 1：是
     */
    @Column(name = "is_send")
    private String isSend;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 跳转对应页面参数json数据
     */
    @Column(name = "params_json")
    private String paramsJson;

    private static final long serialVersionUID = 1L;
}